package com.library.entity.vo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 订单表
 * </p>
 *
 * @author ccl
 * @since 2024-07-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="FinanceOrderVo对象", description="财务统计表")
public class FinanceOrderVo  {

    @ExcelIgnore
    @ApiModelProperty(value = "id")
    private Long id;

    @ExcelProperty(value = "订单编码")
    @ApiModelProperty(value = "订单编码")
    private String orderCode;

    @ExcelProperty(value = "套餐")
    @ApiModelProperty(value = "订单名称")
    private String orderName;

    @ExcelProperty(value = "用户")
    @ApiModelProperty(value = "用户名称")
    private String userName;

    @ExcelProperty(value = "手机号")
    @ApiModelProperty(value = "手机号")
    private String mobile;

    @ExcelProperty(value = "订单金额")
    @ApiModelProperty(value = "订单金额")
    private BigDecimal orderAmount;

    @ExcelProperty(value = "下单时间")
    @ApiModelProperty(value = "下单时间")
    private Date orderTime;

    @ExcelProperty(value = "支付时间")
    @ApiModelProperty(value = "支付时间")
    private Date payTime;

    @ExcelProperty(value = "支付方式")
    @ApiModelProperty(value = "支付方式 0-支付宝 1-微信")
    private String payType;

    @ExcelIgnore
    @ApiModelProperty(value = "发票状态0 - 未开 1 - 已开 ")
    private Integer billStatus;

    @ExcelProperty(value = "发票状态")
    @ApiModelProperty(value = "发票状态0 - 未开 1 - 已开 ")
    private String billStatusStr;

    @ExcelIgnore
    @ApiModelProperty(value = "订单状态0 - 待支付 1 - 已完成 2-已取消 3-待退款 4—已退款 5—审核拒绝  6-订单超时失效 ")
    private Integer orderStatus;

    @ExcelProperty(value = "订单状态")
    @ApiModelProperty(value = "0 - 待支付 1 - 已完成 2-已取消 3-待退款 4—已退款 5—审核拒绝  6-订单超时失效 ")
    private String orderStatusStr;

}
